<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<body>
<h2>Hello World!</h2>
<%--er表达式${pageContext.request.contextPath}表示服务器路径打头部分--%>
<form method="post" action="${pageContext.request.contextPath}/User/register">
    <label>用户名</label>
    <input type="text" name="name" placeholder="请输入用户姓名">
    <label>账号</label>
    <input type="text" name="username" placeholder="请输入用户账号">
    <label>密码</label>
    <input type="password" name="password" placeholder="请输入用户密码">
    <br>
    <input type="submit" value="提交">
</form>
</body>
</html>
